Systems and Methods for Rapid Alignment of Digital Imagery Datasets to Models of Structures

ABSTRACT

Systems and methods for aligning digital image datasets to a computer model of a structure. The system receives a plurality of reference images from an input image dataset and identifies common ground control points (“GCPs”) in the reference images. The system then calculates virtual three-dimensional (“3D”) coordinates of the measured GCPs. Next, the system calculates and projects two-dimensional (“2D”) image coordinates of the virtual 3D coordinates into all of the images. Finally, using the projected 2D image coordinates, the system performs spatial resection of all of the images in order to rapidly align all of the images.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of, and claims the benefit of priority to, U.S. patent application Ser. No. 16/257,761 filed on Jan. 25, 2019, now U.S. Pat. No. 10,733,470 issued on Aug. 4, 2020, which claims the benefit of U.S. Provisional Patent Application No. 62/621,746 filed on Jan. 25, 2018, the entire disclosures of which are expressly incorporated herein by reference.

BACKGROUND Technical Field

The present disclosure relates generally to the fields of computer vision and photogrammetry. More specifically, the present disclosure relates to systems and methods for rapid alignment of digital imagery datasets to models of structures.

Related Art

In the fields of computer vision and photogrammetry, there is often a need to rapidly align digital images (e.g., aerial images of a building, a structure, property, etc.) to an existing computer model of a structure such as a wireframe model of a house, building, etc. Unfortunately, this process is often time-consuming and requires manual alignment of each image in a dataset by a user.

In order to align digital images, it is necessary to determine the external orientation parameters of the images. There are various techniques for determining the external orientation parameters of aerial images. For example, some techniques involve measuring ground control points that appear in the aerial images using a bundle block adjustment (“BBA”) technique. The BBA technique calculates the exterior orientation of all images of a block, using as input accurate approximate values of the unknowns. Another technique called spatial resection (“SR”) allows for the calculation of these parameters for each image separately, using as input even poor approximate values for the unknowns.

It has been found that the BBA technique is not always optimal for all situations, due to differences in input and output requirements of various imaging/vision systems. Additionally, standard SR techniques are not always computationally efficient because each image must be treated separately by the computer system and/or by a user of the computer system. As such, there is a need for computational systems/methods which allow SR to be performed on all images in a block (e.g., two or more images) with minimal effort on behalf of the user. The systems and methods disclosed herein address these and other needs by rapidly aligning datasets of images to a model while requiring minimal user input.

SUMMARY

This present disclosure relates to systems and methods for aligning digital image datasets to a computer model of a structure. The system receives two reference aerial images from an input image dataset. Then, in the two aerial images, three common ground control points (“GCPs”) are identified in the images (e.g., by a user manually identifying the GCPs using in the images using a graphical user interface tool and marking the GCPs on the computer display of the images, or by the computer system automatically identifying the GCPs using computer vision techniques). Once the GCPs are identified, the system then calculates virtual three-dimensional (“3D”) coordinates of the measured GCPs. Then, the system calculates and projects two-dimensional (“2D”) image coordinates of the virtual 3D coordinates in all the images (e.g., in all aerial images currently being displayed to the user on a display of the computer system, or in other images). Finally, using the projected 2D image coordinates, the system performs spatial resection of all of the images in order to rapidly align all of the images.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing features of the invention will be apparent from the following Detailed Description, taken in connection with the accompanying drawings, in which:

FIG. 1 is a diagram illustrating the system of the present disclosure;

FIG. 2 is a flowchart illustrating processing steps carried out by the system; and

FIG. 3 is a diagram illustrating a spatial resection step carried out by the system to align images.

DETAILED DESCRIPTION

The present disclosure relates to systems and methods for rapidly aligning digital imagery datasets to a computer model of a structure, as discussed in detail below in connection with FIGS. 1-3.

FIG. 1 is a diagram illustrating the system of the present disclosure, indicated generally at 10. The system 10 includes an alignment software module 12 that is executed by a processor 14 and which processes a plurality of digital images in a dataset, such as an input aerial imagery dataset 16, a structure model 18 stored in a memory 20 in communication with the processor 14, and a user interface 26 that communicates with the processor 14 and which can be operated by a user of the system 10. The structure model 18 could include a wireframe or polygonal model 24 of a structure, such as a three-dimensional model of a house as shown. Importantly, the system 10 rapidly aligns the input aerial imagery dataset 16 (which includes multiple images) to the model 18 to produce an aligned aerial imagery dataset 22 requiring minimal input from the user using the user interface 26. The user interface 26 could include, but is not limited to, a display and associated keyboard and/or mouse, a touchscreen, lightpen, etc. Moreover, the process steps of the invention disclosed herein (carried out by the module 12) could be embodied as computer-readable software code executed by one or more computer systems, and could be programmed using any suitable programming languages including, but not limited to, C, C++, C #, Java, Python, or any other suitable languages. Additionally, the computer system(s) on which the present invention could be embodied include, but are not limited to, one or more personal computers, servers, mobile devices, cloud-based computing platforms, etc., each having one or more suitably powerful microprocessors and associated operating system(s) such as Linux, UNIX, Microsoft Windows, MacOS, etc. Still further, the invention could be embodied as a customized hardware component such as a field-programmable gate array (FPGA), application-specific integrated circuit (ASIC), embedded system, or other customized hardware component without departing from the spirit or scope of the present disclosure.

The specific functions carried out by the system 10 (and in particular, the alignment module 12) will now be discussed with reference to FIG. 2, which is a flowchart 30 illustrating processing steps carried out by the system of the present disclosure. In step 32, the system retrieves two reference images from a digital imagery dataset, such as the input aerial imagery dataset 16 of FIG. 1, and displays the reference images to the user on a screen of the user interface 26. In step 34, using the user interface 26 and a suitable graphical component such as a visual marker displayed on the interface 26, the user identifies and marks three common ground control points (GCPs) in the two reference images. It is noted that this step could be carried out automatically by the system 10, such that the system could automatically identify the GCPs in the reference image using suitable computer vision techniques, and that user input need not be required. However, in the event that user input is utilized, such user input is minimized in comparison to conventional techniques due to the processing steps carried out herein.

In step 36, the system calculates virtual three-dimensional (3D) coordinates of the GCPs identified in the reference images. Then, in step 38, the system calculates and projects two-dimensional (2-D) image coordinates of the virtual 3D coordinates in all of the images of the dataset 16. Finally, in step 40, the system 10 performs a spatial resection process on each image in the dataset using the projected 2-D image coordinates of the virtual 3D coordinates as well as the images themselves, to automatically align each image in the dataset 16 to produce the aligned image dataset 22. Importantly, by calculating the virtual 3D coordinates, projecting them into the images, and automatically performing spatial resection on the images, the system significantly reduces user input and rapidly aligns the images of the dataset 16, in batch.

FIG. 3 illustrates a spatial resection technique that could be utilized by the system 10 in order to perform spatial resection on each image in step 40. By way of background, the line that joins the focal point of the camera, a GCP and its homologous 2D point in the image, is described by the collinearity equations:

${x - x_{0}} = {{- f}\frac{{a_{1}\left( {X - X_{s}} \right)} + {b_{1}\left( {Y - Y_{s}} \right)} + {c_{1}\left( {Z - Z_{s}} \right)}}{{a_{3}\left( {X - X_{s}} \right)} + {b_{3}\left( {Y - Y_{s}} \right)} + {c_{3}\left( {Z - Z_{s}} \right)}}}$ ${y - y_{0}} = {{- f}\frac{{a_{2}\left( {X - X_{s}} \right)} + {b_{2}\left( {Y - Y_{s}} \right)} + {c_{2}\left( {Z - Z_{s}} \right)}}{{a_{3}\left( {X - X_{s}} \right)} + {b_{3}\left( {Y - Y_{s}} \right)} + {c_{3}\left( {Z - Z_{s}} \right)}}}$

The external orientation (EO) parameters of the images can be calculated by solving these collinearity equations. EO parameters are a group of 6 unknowns and each GCP generates 2 equations. In order to calculate an image's EO parameters, there is a minimum requirement of 3 GCPs measured per image. In other words, in a standard spatial resection (“SR”) tool, the minimum user effort is 3*Number_Of_Images. However, the system of the present invention reduces the minimum user effort (e.g., to a fixed value of 6), because the user is requested to measure only 3 points in 2 images; then, the system propagates the measurements to all images in the dataset, allowing spatial resection to automatically be performed on each image in the dataset. Also, as noted above, if computer vision techniques are applied to automatically identify the GCPs (e.g., in step 34 of FIG. 2), the user need not manually identify the GCPs at all.

Having thus described the system and method in detail, it is to be understood that the foregoing description is not intended to limit the spirit or scope thereof. It will be understood that the embodiments of the present disclosure described herein are merely exemplary and that a person skilled in the art may make any variations and modification without departing from the spirit and scope of the disclosure. All such variations and modifications, including those discussed above, are intended to be included within the scope of the disclosure. What is intended to be protected by Letters Patent is set forth in the following claims. 

1. A method for automatically aligning each image in a dataset to produce an aligned image dataset, comprising: identifying common ground control points (“GCPs”) in a plurality of reference images in a digital imagery dataset; calculating virtual three-dimensional coordinates of the GCPs identified in the plurality of reference images; calculating and projecting two-dimensional image coordinates of the virtual three-dimensional coordinates into each image of the dataset; and performing spatial resection on each image in the digital imagery dataset to align each image using the projected two-dimensional image coordinates.
 2. The method of claim 1, wherein the digital imagery dataset comprises an aerial imagery dataset.
 3. The method of claim 1, wherein step of identify the common GCPs comprises manually identifying the GCPs using a graphical user interface tool and marking the GCPs on a user interface.
 4. The method of claim 1, wherein step of identify the common GCPs comprises a computer system automatically identifying the GCPs using computer vision techniques.
 5. The method of claim 1, wherein step of perform spatial resection on each image comprises calculating external orientation parameters using collinearity equations.
 6. The method of claim 5, wherein the collinearity equations comprise: ${x - x_{0}} = {{- f}\frac{{a_{1}\left( {X - X_{s}} \right)} + {b_{1}\left( {Y - Y_{s}} \right)} + {c_{1}\left( {Z - Z_{s}} \right)}}{{a_{3}\left( {X - X_{s}} \right)} + {b_{3}\left( {Y - Y_{s}} \right)} + {c_{3}\left( {Z - Z_{s}} \right)}}}$ ${y - y_{0}} = {{- f}\frac{{a_{2}\left( {X - X_{s}} \right)} + {b_{2}\left( {Y - Y_{s}} \right)} + {c_{2}\left( {Z - Z_{s}} \right)}}{{a_{3}\left( {X - X_{s}} \right)} + {b_{3}\left( {Y - Y_{s}} \right)} + {c_{3}\left( {Z - Z_{s}} \right)}}}$
 7. A system for automatically aligning each image in a dataset to produce an aligned image dataset, comprising: a processor in communication with a digital imagery dataset; and computer system code executed by the processor, the computer system code causing the processor to: identify common ground control points (“GCPs”) in a plurality of reference images; calculate virtual three-dimensional coordinates of the GCPs identified in the plurality of reference images; calculate and project two-dimensional image coordinates of the virtual three-dimensional coordinates into each image of the dataset; and perform spatial resection on each image in the digital imagery dataset to align each image using the projected two-dimensional image coordinates.
 8. The system of claim 7, wherein the digital imagery dataset comprises an aerial imagery dataset.
 9. The system of claim 7, wherein step of identify the common GCPs comprises the user manually identifying the GCPs using a graphical user interface tool and marking the GCPs on the user interface.
 10. The system of claim 7, wherein step of identify the common GCPs comprises the system automatically identifying the GCPs using computer vision techniques.
 11. The system of claim 7, wherein step of perform spatial resection on each image comprises calculating external orientation parameters using collinearity equations.
 12. The system of claim 11, wherein the collinearity equations comprise: ${x - x_{0}} = {{- f}\frac{{a_{1}\left( {X - X_{s}} \right)} + {b_{1}\left( {Y - Y_{s}} \right)} + {c_{1}\left( {Z - Z_{s}} \right)}}{{a_{3}\left( {X - X_{s}} \right)} + {b_{3}\left( {Y - Y_{s}} \right)} + {c_{3}\left( {Z - Z_{s}} \right)}}}$ ${y - y_{0}} = {{- f}\frac{{a_{2}\left( {X - X_{s}} \right)} + {b_{2}\left( {Y - Y_{s}} \right)} + {c_{2}\left( {Z - Z_{s}} \right)}}{{a_{3}\left( {X - X_{s}} \right)} + {b_{3}\left( {Y - Y_{s}} \right)} + {c_{3}\left( {Z - Z_{s}} \right)}}}$ 